package com.dingli.framework.mapper;

import com.dingli.framework.entity.Customtraining;
import com.dingli.framework.entity.Trainmember;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomtrainingMapper {

    //查询定制化培训表信息列表
    List<Customtraining> CTselectList(String search);

    //查看定制化培训表信息详情
    List<Customtraining> CTselectAll (Long ctId);

    //审核通过
    int CTupdateState(String ctId);

    //审核不通过
    int CTupdate(String ctId);

    //查询所有不通过的项目信息
    List<Customtraining> CTselect(String ctId);

    //新增
    int CTinsert(Customtraining customtraining);

    //修改
    int CTupdateById(Customtraining customtraining);

    //删除
    int CTdeleteById(Long ctId);
}
